	<div class="pad-lr-10">
	    <form  name="form_list" id="form_list" action="{:U('Product/ProductLogManage/index')}" method="post">
		    <div class="table-list">		
			    <table width="100%" cellspacing="0">
			        <thead>
			            <tr>
			            	<th width="100" align="center">日期</th>
			            	<if condition="$search['type'] eq 'price'">
			            	<th width="60" align="left">实际价</th>
			            	<th width="60" align="left">推荐价</th>                  
			                <th width="60" align="left">会员价</th>
			                </if>
			                <if condition="$search['type'] eq 'stock'">
			                <th width="40" align="left">增加前</th>
			                <th width="40" align="left">增加后</th>
			                <th width="40" align="left">增量</th>
			                </if>
			      			<th width="40" align="left">操作人</th>
			            </tr>
			        </thead>
			    	<tbody>
			    		<if condition="$search['type'] eq 'price'">
							<volist name="list" id='val'>
						        <tr>
						            <td align="left">{$val.crt_time|date='Y-m-d H:i:s',###}</td>
									<td align="left">￥{$val.price_real}</td>
									<td align="left">￥{$val.price_sale}</td>
									<td align="left">￥{$val.price_vip}</td>
									<td align="left">{$val.crt_user}</td>
						        </tr>
					        </volist>
				        </if>
				        <if condition="$search['type'] eq 'stock'">
				        	<volist name="list" id='val'>
					        	<tr>
						        	<td align="left">{$val.crt_time|date='Y-m-d H:i:s',###}</td>
									<td align="left">{$val['stock_qty']-$val['add_stock_qty']}</td>
									<td align="left">{$val.stock_qty}</td>
									<td align="left">{$val.add_stock_qty}</td>
									<td align="left">{$val.crt_user}</td>
								</tr>
							</volist>
				        </if>
			    	</tbody>
			    </table>
	    	</div>
	    </form>
	</div>
<script type="text/javascript">

</script>
